<!DOCTYPE html>   
<!--
==========================================================================
LV自动生成新增页面代码,只生成一次,按需修改.
生成日期：2023-12-24 16:29:05 +0800 CST
生成路径: template/mywork/item/add.html
生成人：lv
==========================================================================
-->
<html lang="zh">
<head>
    {{template "header" (OssUrl)}}
    <link href="{{OssUrl}}/resource/ajax/libs/datapicker/bootstrap-datetimepicker.min.css" rel="stylesheet"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-item-add">     
            
                <div class="form-group">
                    <label class="col-sm-3 control-label">任务ID：</label>
                    <div class="col-sm-8">
                        <input name="taskId" class="form-control" type="text" >
                    </div>
                </div>
               
            
                <div class="form-group">
                    <label class="col-sm-3 control-label">click dbclick write write_enter：</label>
                    <div class="col-sm-8">
                        <input name="action" class="form-control" type="text" >
                    </div>
                </div>
               
            
                <div class="form-group">
                    <label class="col-sm-3 control-label">内容：</label>
                    <div class="col-sm-8">
                        <input name="content" class="form-control" type="text" >
                    </div>
                </div>
               
            
                <div class="form-group">
                    <label class="col-sm-3 control-label">html xpath：</label>
                    <div class="col-sm-8">
                        <input name="idxXpath" class="form-control" type="text" >
                    </div>
                </div>
               
            
                <div class="form-group">
                    <label class="col-sm-3 control-label">图片1：</label>
                    <div class="col-sm-8">
                        <input name="idxImg1" class="form-control" type="text" >
                    </div>
                </div>
               
            
                <div class="form-group">
                    <label class="col-sm-3 control-label">图片2：</label>
                    <div class="col-sm-8">
                        <input name="idxImg2" class="form-control" type="text" >
                    </div>
                </div>
               
            
                <div class="form-group">
                    <label class="col-sm-3 control-label">图片3：</label>
                    <div class="col-sm-8">
                        <input name="idxImg3" class="form-control" type="text" >
                    </div>
                </div>
               
              
                <div class="form-group">
                    <label class="col-sm-3 control-label">操作状态，ready running end：</label>
                    <div class="col-sm-8">
                        <div class="radio-box">
                            <input type="radio" name="status" value="" required>
                            <label for="status" text="未知"></label>
                        </div>
                        <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                    </div>
                </div>  
               
            
                <div class="form-group">
                    <label class="col-sm-3 control-label">排序，大的优先：</label>
                    <div class="col-sm-8">
                        <input name="sort" class="form-control" type="text" >
                    </div>
                </div>
               
            
                <div class="form-group">
                    <label class="col-sm-3 control-label">删除标识1删除0未删除：</label>
                    <div class="col-sm-8">
                        <input name="delFlag" class="form-control" type="text" >
                    </div>
                </div>
                      
    </form>
</div>
{{template "footer" (OssUrl)}}
<script src="{{OssUrl}}/resource/ajax/libs/datapicker/bootstrap-datetimepicker.min.js"></script>

<script type="text/javascript">
    var prefix = ctx + "/mywork/item";
    $("#form-item-add").validate({
        focusCleanup: true
    });

    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/add", $('#form-item-add').serialize());
        }
    }
                             
    $("input[name='createTime']").datetimepicker({
        format: "yyyy-mm-dd",
        minView: "month",
        autoclose: true
    });      
    $("input[name='updateTime']").datetimepicker({
        format: "yyyy-mm-dd",
        minView: "month",
        autoclose: true
    });   
    
</script>
</body>
</html>